Integrand size = 16, antiderivative size = 292 \[ \int \frac {x^2}{(a+b \arccos (c x))^{5/2}} \, dx=\frac {2 x^2 \sqrt {1-c^2 x^2}}{3 b c (a+b \arccos (c x))^{3/2}}-\frac {8 x}{3 b^2 c^2 \sqrt {a+b \arccos (c x)}}+\frac {4 x^3}{b^2 \sqrt {a+b \arccos (c x)}}+\frac {\sqrt {2 \pi } \cos \left (\frac {a}{b}\right ) \operatorname {FresnelS}\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \arccos (c x)}}{\sqrt {b}}\right )}{3 b^{5/2} c^3}+\frac {\sqrt {6 \pi } \cos \left (\frac {3 a}{b}\right ) \operatorname {FresnelS}\left (\frac {\sqrt {\frac {6}{\pi }} \sqrt {a+b \arccos (c x)}}{\sqrt {b}}\right )}{b^{5/2} c^3}-\frac {\sqrt {2 \pi } \operatorname {FresnelC}\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \arccos (c x)}}{\sqrt {b}}\right ) \sin \left (\frac {a}{b}\right )}{3 b^{5/2} c^3}-\frac {\sqrt {6 \pi } \operatorname {FresnelC}\left (\frac {\sqrt {\frac {6}{\pi }} \sqrt {a+b \arccos (c x)}}{\sqrt {b}}\right ) \sin \left (\frac {3 a}{b}\right )}{b^{5/2} c^3} \]
[Out]
Time = 0.58 (sec) , antiderivative size = 292, normalized size of antiderivative = 1.00, number of steps used = 22, number of rules used = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.625, Rules used = {4730, 4808, 4732, 4491, 3387, 3386, 3432, 3385, 3433, 4720} \[ \int \frac {x^2}{(a+b \arccos (c x))^{5/2}} \, dx=-\frac {\sqrt {2 \pi } \sin \left (\frac {a}{b}\right ) \operatorname {FresnelC}\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \arccos (c x)}}{\sqrt {b}}\right )}{3 b^{5/2} c^3}-\frac {\sqrt {6 \pi } \sin \left (\frac {3 a}{b}\right ) \operatorname {FresnelC}\left (\frac {\sqrt {\frac {6}{\pi }} \sqrt {a+b \arccos (c x)}}{\sqrt {b}}\right )}{b^{5/2} c^3}+\frac {\sqrt {2 \pi } \cos \left (\frac {a}{b}\right ) \operatorname {FresnelS}\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \arccos (c x)}}{\sqrt {b}}\right )}{3 b^{5/2} c^3}+\frac {\sqrt {6 \pi } \cos \left (\frac {3 a}{b}\right ) \operatorname {FresnelS}\left (\frac {\sqrt {\frac {6}{\pi }} \sqrt {a+b \arccos (c x)}}{\sqrt {b}}\right )}{b^{5/2} c^3}-\frac {8 x}{3 b^2 c^2 \sqrt {a+b \arccos (c x)}}+\frac {4 x^3}{b^2 \sqrt {a+b \arccos (c x)}}+\frac {2 x^2 \sqrt {1-c^2 x^2}}{3 b c (a+b \arccos (c x))^{3/2}} \]
[In]
[Out]
Rule 3385
Rule 3386
Rule 3387
Rule 3432
Rule 3433
Rule 4491
Rule 4720
Rule 4730
Rule 4732
Rule 4808
Rubi steps \begin{align*} \text {integral}& = \frac {2 x^2 \sqrt {1-c^2 x^2}}{3 b c (a+b \arccos (c x))^{3/2}}-\frac {4 \int \frac {x}{\sqrt {1-c^2 x^2} (a+b \arccos (c x))^{3/2}} \, dx}{3 b c}+\frac {(2 c) \int \frac {x^3}{\sqrt {1-c^2 x^2} (a+b \arccos (c x))^{3/2}} \, dx}{b} \\ & = \frac {2 x^2 \sqrt {1-c^2 x^2}}{3 b c (a+b \arccos (c x))^{3/2}}-\frac {8 x}{3 b^2 c^2 \sqrt {a+b \arccos (c x)}}+\frac {4 x^3}{b^2 \sqrt {a+b \arccos (c x)}}-\frac {12 \int \frac {x^2}{\sqrt {a+b \arccos (c x)}} \, dx}{b^2}+\frac {8 \int \frac {1}{\sqrt {a+b \arccos (c x)}} \, dx}{3 b^2 c^2} \\ & = \frac {2 x^2 \sqrt {1-c^2 x^2}}{3 b c (a+b \arccos (c x))^{3/2}}-\frac {8 x}{3 b^2 c^2 \sqrt {a+b \arccos (c x)}}+\frac {4 x^3}{b^2 \sqrt {a+b \arccos (c x)}}+\frac {8 \text {Subst}\left (\int \frac {\sin \left (\frac {a}{b}-\frac {x}{b}\right )}{\sqrt {x}} \, dx,x,a+b \arccos (c x)\right )}{3 b^3 c^3}-\frac {12 \text {Subst}\left (\int \frac {\cos ^2\left (\frac {a}{b}-\frac {x}{b}\right ) \sin \left (\frac {a}{b}-\frac {x}{b}\right )}{\sqrt {x}} \, dx,x,a+b \arccos (c x)\right )}{b^3 c^3} \\ & = \frac {2 x^2 \sqrt {1-c^2 x^2}}{3 b c (a+b \arccos (c x))^{3/2}}-\frac {8 x}{3 b^2 c^2 \sqrt {a+b \arccos (c x)}}+\frac {4 x^3}{b^2 \sqrt {a+b \arccos (c x)}}-\frac {12 \text {Subst}\left (\int \left (\frac {\sin \left (\frac {3 a}{b}-\frac {3 x}{b}\right )}{4 \sqrt {x}}+\frac {\sin \left (\frac {a}{b}-\frac {x}{b}\right )}{4 \sqrt {x}}\right ) \, dx,x,a+b \arccos (c x)\right )}{b^3 c^3}-\frac {\left (8 \cos \left (\frac {a}{b}\right )\right ) \text {Subst}\left (\int \frac {\sin \left (\frac {x}{b}\right )}{\sqrt {x}} \, dx,x,a+b \arccos (c x)\right )}{3 b^3 c^3}+\frac {\left (8 \sin \left (\frac {a}{b}\right )\right ) \text {Subst}\left (\int \frac {\cos \left (\frac {x}{b}\right )}{\sqrt {x}} \, dx,x,a+b \arccos (c x)\right )}{3 b^3 c^3} \\ & = \frac {2 x^2 \sqrt {1-c^2 x^2}}{3 b c (a+b \arccos (c x))^{3/2}}-\frac {8 x}{3 b^2 c^2 \sqrt {a+b \arccos (c x)}}+\frac {4 x^3}{b^2 \sqrt {a+b \arccos (c x)}}-\frac {3 \text {Subst}\left (\int \frac {\sin \left (\frac {3 a}{b}-\frac {3 x}{b}\right )}{\sqrt {x}} \, dx,x,a+b \arccos (c x)\right )}{b^3 c^3}-\frac {3 \text {Subst}\left (\int \frac {\sin \left (\frac {a}{b}-\frac {x}{b}\right )}{\sqrt {x}} \, dx,x,a+b \arccos (c x)\right )}{b^3 c^3}-\frac {\left (16 \cos \left (\frac {a}{b}\right )\right ) \text {Subst}\left (\int \sin \left (\frac {x^2}{b}\right ) \, dx,x,\sqrt {a+b \arccos (c x)}\right )}{3 b^3 c^3}+\frac {\left (16 \sin \left (\frac {a}{b}\right )\right ) \text {Subst}\left (\int \cos \left (\frac {x^2}{b}\right ) \, dx,x,\sqrt {a+b \arccos (c x)}\right )}{3 b^3 c^3} \\ & = \frac {2 x^2 \sqrt {1-c^2 x^2}}{3 b c (a+b \arccos (c x))^{3/2}}-\frac {8 x}{3 b^2 c^2 \sqrt {a+b \arccos (c x)}}+\frac {4 x^3}{b^2 \sqrt {a+b \arccos (c x)}}-\frac {8 \sqrt {2 \pi } \cos \left (\frac {a}{b}\right ) \operatorname {FresnelS}\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \arccos (c x)}}{\sqrt {b}}\right )}{3 b^{5/2} c^3}+\frac {8 \sqrt {2 \pi } \operatorname {FresnelC}\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \arccos (c x)}}{\sqrt {b}}\right ) \sin \left (\frac {a}{b}\right )}{3 b^{5/2} c^3}+\frac {\left (3 \cos \left (\frac {a}{b}\right )\right ) \text {Subst}\left (\int \frac {\sin \left (\frac {x}{b}\right )}{\sqrt {x}} \, dx,x,a+b \arccos (c x)\right )}{b^3 c^3}+\frac {\left (3 \cos \left (\frac {3 a}{b}\right )\right ) \text {Subst}\left (\int \frac {\sin \left (\frac {3 x}{b}\right )}{\sqrt {x}} \, dx,x,a+b \arccos (c x)\right )}{b^3 c^3}-\frac {\left (3 \sin \left (\frac {a}{b}\right )\right ) \text {Subst}\left (\int \frac {\cos \left (\frac {x}{b}\right )}{\sqrt {x}} \, dx,x,a+b \arccos (c x)\right )}{b^3 c^3}-\frac {\left (3 \sin \left (\frac {3 a}{b}\right )\right ) \text {Subst}\left (\int \frac {\cos \left (\frac {3 x}{b}\right )}{\sqrt {x}} \, dx,x,a+b \arccos (c x)\right )}{b^3 c^3} \\ & = \frac {2 x^2 \sqrt {1-c^2 x^2}}{3 b c (a+b \arccos (c x))^{3/2}}-\frac {8 x}{3 b^2 c^2 \sqrt {a+b \arccos (c x)}}+\frac {4 x^3}{b^2 \sqrt {a+b \arccos (c x)}}-\frac {8 \sqrt {2 \pi } \cos \left (\frac {a}{b}\right ) \operatorname {FresnelS}\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \arccos (c x)}}{\sqrt {b}}\right )}{3 b^{5/2} c^3}+\frac {8 \sqrt {2 \pi } \operatorname {FresnelC}\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \arccos (c x)}}{\sqrt {b}}\right ) \sin \left (\frac {a}{b}\right )}{3 b^{5/2} c^3}+\frac {\left (6 \cos \left (\frac {a}{b}\right )\right ) \text {Subst}\left (\int \sin \left (\frac {x^2}{b}\right ) \, dx,x,\sqrt {a+b \arccos (c x)}\right )}{b^3 c^3}+\frac {\left (6 \cos \left (\frac {3 a}{b}\right )\right ) \text {Subst}\left (\int \sin \left (\frac {3 x^2}{b}\right ) \, dx,x,\sqrt {a+b \arccos (c x)}\right )}{b^3 c^3}-\frac {\left (6 \sin \left (\frac {a}{b}\right )\right ) \text {Subst}\left (\int \cos \left (\frac {x^2}{b}\right ) \, dx,x,\sqrt {a+b \arccos (c x)}\right )}{b^3 c^3}-\frac {\left (6 \sin \left (\frac {3 a}{b}\right )\right ) \text {Subst}\left (\int \cos \left (\frac {3 x^2}{b}\right ) \, dx,x,\sqrt {a+b \arccos (c x)}\right )}{b^3 c^3} \\ & = \frac {2 x^2 \sqrt {1-c^2 x^2}}{3 b c (a+b \arccos (c x))^{3/2}}-\frac {8 x}{3 b^2 c^2 \sqrt {a+b \arccos (c x)}}+\frac {4 x^3}{b^2 \sqrt {a+b \arccos (c x)}}+\frac {\sqrt {2 \pi } \cos \left (\frac {a}{b}\right ) \operatorname {FresnelS}\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \arccos (c x)}}{\sqrt {b}}\right )}{3 b^{5/2} c^3}+\frac {\sqrt {6 \pi } \cos \left (\frac {3 a}{b}\right ) \operatorname {FresnelS}\left (\frac {\sqrt {\frac {6}{\pi }} \sqrt {a+b \arccos (c x)}}{\sqrt {b}}\right )}{b^{5/2} c^3}-\frac {\sqrt {2 \pi } \operatorname {FresnelC}\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \arccos (c x)}}{\sqrt {b}}\right ) \sin \left (\frac {a}{b}\right )}{3 b^{5/2} c^3}-\frac {\sqrt {6 \pi } \operatorname {FresnelC}\left (\frac {\sqrt {\frac {6}{\pi }} \sqrt {a+b \arccos (c x)}}{\sqrt {b}}\right ) \sin \left (\frac {3 a}{b}\right )}{b^{5/2} c^3} \\ \end{align*}
Result contains complex when optimal does not.
Time = 1.88 (sec) , antiderivative size = 322, normalized size of antiderivative = 1.10 \[ \int \frac {x^2}{(a+b \arccos (c x))^{5/2}} \, dx=-\frac {-b \sqrt {1-c^2 x^2}-(a+b \arccos (c x)) \left (e^{-i \arccos (c x)}+e^{i \arccos (c x)}-e^{-\frac {i a}{b}} \sqrt {-\frac {i (a+b \arccos (c x))}{b}} \Gamma \left (\frac {1}{2},-\frac {i (a+b \arccos (c x))}{b}\right )-e^{\frac {i a}{b}} \sqrt {\frac {i (a+b \arccos (c x))}{b}} \Gamma \left (\frac {1}{2},\frac {i (a+b \arccos (c x))}{b}\right )\right )-3 (a+b \arccos (c x)) \left (e^{-3 i \arccos (c x)}+e^{3 i \arccos (c x)}-\sqrt {3} e^{-\frac {3 i a}{b}} \sqrt {-\frac {i (a+b \arccos (c x))}{b}} \Gamma \left (\frac {1}{2},-\frac {3 i (a+b \arccos (c x))}{b}\right )-\sqrt {3} e^{\frac {3 i a}{b}} \sqrt {\frac {i (a+b \arccos (c x))}{b}} \Gamma \left (\frac {1}{2},\frac {3 i (a+b \arccos (c x))}{b}\right )\right )-b \sin (3 \arccos (c x))}{6 b^2 c^3 (a+b \arccos (c x))^{3/2}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(672\) vs. \(2(236)=472\).
Time = 2.20 (sec) , antiderivative size = 673, normalized size of antiderivative = 2.30
method | result | size |
default | \(\frac {-2 \arccos \left (c x \right ) \sqrt {a +b \arccos \left (c x \right )}\, \cos \left (\frac {a}{b}\right ) \operatorname {FresnelS}\left (\frac {\sqrt {2}\, \sqrt {a +b \arccos \left (c x \right )}}{\sqrt {\pi }\, \sqrt {-\frac {1}{b}}\, b}\right ) \sqrt {2}\, \sqrt {\pi }\, \sqrt {-\frac {1}{b}}\, b -2 \arccos \left (c x \right ) \sqrt {a +b \arccos \left (c x \right )}\, \sin \left (\frac {a}{b}\right ) \operatorname {FresnelC}\left (\frac {\sqrt {2}\, \sqrt {a +b \arccos \left (c x \right )}}{\sqrt {\pi }\, \sqrt {-\frac {1}{b}}\, b}\right ) \sqrt {2}\, \sqrt {\pi }\, \sqrt {-\frac {1}{b}}\, b -6 \arccos \left (c x \right ) \sqrt {a +b \arccos \left (c x \right )}\, \cos \left (\frac {3 a}{b}\right ) \operatorname {FresnelS}\left (\frac {3 \sqrt {2}\, \sqrt {a +b \arccos \left (c x \right )}}{\sqrt {\pi }\, \sqrt {-\frac {3}{b}}\, b}\right ) \sqrt {-\frac {3}{b}}\, \sqrt {2}\, \sqrt {\pi }\, b -6 \arccos \left (c x \right ) \sqrt {a +b \arccos \left (c x \right )}\, \sin \left (\frac {3 a}{b}\right ) \operatorname {FresnelC}\left (\frac {3 \sqrt {2}\, \sqrt {a +b \arccos \left (c x \right )}}{\sqrt {\pi }\, \sqrt {-\frac {3}{b}}\, b}\right ) \sqrt {-\frac {3}{b}}\, \sqrt {2}\, \sqrt {\pi }\, b -2 \sqrt {a +b \arccos \left (c x \right )}\, \cos \left (\frac {a}{b}\right ) \operatorname {FresnelS}\left (\frac {\sqrt {2}\, \sqrt {a +b \arccos \left (c x \right )}}{\sqrt {\pi }\, \sqrt {-\frac {1}{b}}\, b}\right ) \sqrt {2}\, \sqrt {\pi }\, \sqrt {-\frac {1}{b}}\, a -2 \sqrt {a +b \arccos \left (c x \right )}\, \sin \left (\frac {a}{b}\right ) \operatorname {FresnelC}\left (\frac {\sqrt {2}\, \sqrt {a +b \arccos \left (c x \right )}}{\sqrt {\pi }\, \sqrt {-\frac {1}{b}}\, b}\right ) \sqrt {2}\, \sqrt {\pi }\, \sqrt {-\frac {1}{b}}\, a -6 \sqrt {a +b \arccos \left (c x \right )}\, \cos \left (\frac {3 a}{b}\right ) \operatorname {FresnelS}\left (\frac {3 \sqrt {2}\, \sqrt {a +b \arccos \left (c x \right )}}{\sqrt {\pi }\, \sqrt {-\frac {3}{b}}\, b}\right ) \sqrt {-\frac {3}{b}}\, \sqrt {2}\, \sqrt {\pi }\, a -6 \sqrt {a +b \arccos \left (c x \right )}\, \sin \left (\frac {3 a}{b}\right ) \operatorname {FresnelC}\left (\frac {3 \sqrt {2}\, \sqrt {a +b \arccos \left (c x \right )}}{\sqrt {\pi }\, \sqrt {-\frac {3}{b}}\, b}\right ) \sqrt {-\frac {3}{b}}\, \sqrt {2}\, \sqrt {\pi }\, a +2 \arccos \left (c x \right ) \cos \left (-\frac {a +b \arccos \left (c x \right )}{b}+\frac {a}{b}\right ) b +6 \arccos \left (c x \right ) \cos \left (-\frac {3 \left (a +b \arccos \left (c x \right )\right )}{b}+\frac {3 a}{b}\right ) b -\sin \left (-\frac {a +b \arccos \left (c x \right )}{b}+\frac {a}{b}\right ) b +2 \cos \left (-\frac {a +b \arccos \left (c x \right )}{b}+\frac {a}{b}\right ) a -\sin \left (-\frac {3 \left (a +b \arccos \left (c x \right )\right )}{b}+\frac {3 a}{b}\right ) b +6 \cos \left (-\frac {3 \left (a +b \arccos \left (c x \right )\right )}{b}+\frac {3 a}{b}\right ) a}{6 c^{3} b^{2} \left (a +b \arccos \left (c x \right )\right )^{\frac {3}{2}}}\) | \(673\) |
[In]
[Out]
Exception generated. \[ \int \frac {x^2}{(a+b \arccos (c x))^{5/2}} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
\[ \int \frac {x^2}{(a+b \arccos (c x))^{5/2}} \, dx=\int \frac {x^{2}}{\left (a + b \operatorname {acos}{\left (c x \right )}\right )^{\frac {5}{2}}}\, dx \]
[In]
[Out]
\[ \int \frac {x^2}{(a+b \arccos (c x))^{5/2}} \, dx=\int { \frac {x^{2}}{{\left (b \arccos \left (c x\right ) + a\right )}^{\frac {5}{2}}} \,d x } \]
[In]
[Out]
\[ \int \frac {x^2}{(a+b \arccos (c x))^{5/2}} \, dx=\int { \frac {x^{2}}{{\left (b \arccos \left (c x\right ) + a\right )}^{\frac {5}{2}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {x^2}{(a+b \arccos (c x))^{5/2}} \, dx=\int \frac {x^2}{{\left (a+b\,\mathrm {acos}\left (c\,x\right )\right )}^{5/2}} \,d x \]
[In]
[Out]